

cmake_minimum_required(VERSION 2.8)

set(bb_SOURCE lib2.c )
set(bb_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include2 )

add_library(bb ${bb_SOURCE})
target_include_directories(bb PUBLIC ${bb_INCLUDE} )

set_target_properties(bb PROPERTIES INCLUDE_DIRECTORY ${bb_INCLUDE} )


target_include_directories(bb INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/include2 )



#message( "PROJECT_SOURCE_DIR=" ${PROJECT_SOURCE_DIR} )
#message( "HELLO_SOURCE_DIR=" ${HELLO_SOURCE_DIR} )
#message( "CMAKE_SOURCE_DIR=" ${CMAKE_SOURCE_DIR} )
#message( "CMAKE_SOURCE_DIR=" ${CMAKE_SOURCE_DIR} )
# 
#message( "PROJECT_BINARY_DIR=" ${PROJECT_BINARY_DIR} )
#message( "HELLO_BINARY_DIR=" ${HELLO_BINARY_DIR} )
#message( "CMAKE_BINARY_DIR=" ${CMAKE_BINARY_DIR} )
#message( "CMAKE_BINARY_DIR=" ${CMAKE_BINARY_DIR} )
#message( "CMAKE_MODULE_PATH=" ${CMAKE_MODULE_PATH} )
#message( "\$ENV{PWD}=" $ENV{PWD} )
#message( "\$ENV{HOME}=" $ENV{HOME} )







